<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <%- include ../shop/common.ejs%>
</head>
<body>
<div class="container">
    <div class="row">
        <div  class="col-xs-12" style="padding: 10px 0 10px 15px"><a href="#" onclick="history.go(-1);"><button type="button" class="btn btn-default"><< 返回</button></a>&nbsp;&nbsp;</div>
    </div>
    <form action="/activity/add" method="post" enctype="multipart/form-data" class="form-horizontal" role="form" style="padding-top: 15px;">


        <div class="form-group">
            <label for="firstname" class="col-sm-2 control-label">活动名称</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" id="name" name="name"
                       placeholder="请输入">
            </div>
        </div>

        <div class="form-group">
            <label for="lastname" class="col-sm-2 control-label">活动地址</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" id="description" name="url"
                       placeholder="请输入">
            </div>
        </div>

        <div class="form-group">
            <label for="lastname" class="col-sm-2 control-label">描述</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" id="description" name="description"
                       placeholder="请输入">
            </div>
        </div>

        <div class="form-group">
            <label for="lastname" class="col-sm-2 control-label">是否微信显示</label>
            <div class="col-sm-10">
                <label class="checkbox-inline">
                    <input type="radio" name="isView" id="status1"
                           value="0" checked>是
                </label>
                <label class="checkbox-inline">
                    <input type="radio" name="isView" id="status2"
                           value="1">否
                </label>
            </div>
        </div>

        <div class="form-group">
            <label for="lastname" class="col-sm-2 control-label">商品主图</label>
            <div class="col-sm-10">

                <div class="form-group">
                    <label class="sr-only" for="inputfile">文件输入</label>
                    <input type="file" id="inputfile" name="thumb">
                </div>

                <!--<input id="thumb" name="thumb" value="" style="display: none;"/>-->
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-default btn-block">确认提交</button>
            </div>
        </div>
    </form>
</div><!---->



</body>
</html>